package com.efast.dmom.mgmt.controller.mes.qm;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.efast.cafe.framework.bean.ResultBean;
import com.efast.dmom.mgmt.bean.mes.qm.IQCBean;
import com.efast.dmom.mgmt.service.mes.qm.IQCQualityService;

@Controller
@RequestMapping(value = "/iqcQualityController")
public class IQCQualityController {
	
	@Autowired
	private IQCQualityService iqcQualityService;

	@RequestMapping(value = "/verifyRepetition")
	public @ResponseBody ResultBean verifyRepetition(@RequestBody IQCBean iqcBean) {
		return iqcQualityService.verifyRepetition(iqcBean);
	}
}
